package business.other.punish.impl;

import business.other.punish.LandPunishInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import other.domain.LandPunishInfo;
import other.domain.LandPunishInfoCriteria;
import other.mapper.LandPunishInfoMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "landPunishService")
public class LandPunishInfoServiceImpl implements LandPunishInfoService {
    @Autowired
    LandPunishInfoMapper landPunishInfoMapper;
    @Override
    public List<LandPunishInfo> getLandPunishInfo() {
        LandPunishInfoCriteria criteria = new LandPunishInfoCriteria();
        criteria.createCriteria().getAllCriteria();
        return landPunishInfoMapper.selectByExample(criteria);
    }
}
